package com.family.qrcode;

import java.io.IOException;
import java.util.Vector;

import android.app.Activity;
import android.content.Intent;
import android.content.res.AssetFileDescriptor;
import android.graphics.Bitmap;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnCompletionListener;
import android.os.Bundle;
import android.os.Handler;
import android.os.Vibrator;
import android.view.SurfaceHolder;
import android.view.SurfaceHolder.Callback;
import android.view.SurfaceView;
import android.view.View;
import android.view.View.OnClickListener;
import android.webkit.WebView;
import android.widget.Button;
import android.widget.Toast;

import com.family.qrcode.zxing.camera.CameraManager;
import com.family.qrcode.zxing.decoding.CaptureActivityHandler;
import com.family.qrcode.zxing.decoding.InactivityTimer;
import com.family.qrcode.zxing.view.ViewfinderView;
import com.google.zxing.BarcodeFormat;
import com.google.zxing.Result;
import com.wu.family.MainGroupActivity;
import com.wu.family.R;
/**
 */
public class QrContextShowActivity extends Activity {
	
	private WebView webView;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_qrshow);
		Button mButtonBack = (Button) findViewById(R.id.button_back);
		webView = (WebView)findViewById(R.id.qrcontextWebView);
		mButtonBack.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				QrContextShowActivity.this.finish();
				
			}
		});
		webView.loadUrl(getIntent().getStringExtra("qrcontext"));
	}

	

}